Security News
ESLint is Now Language-Agnostic: Linting JSON, Markdown, and Beyond
ESLint has added JSON and Markdown linting support with new officially-supported plugins, expanding its versatility beyond JavaScript.
@inquirer/figures
Advanced tools
@inquirer/figures is an npm package that provides a set of common Unicode symbols for use in command-line interfaces. These symbols can be used to enhance the visual appearance of CLI applications by adding checkmarks, crosses, arrows, and other figures.
Checkmark
This feature provides a checkmark symbol (✓) that can be used to indicate success or completion in CLI applications.
const figures = require('@inquirer/figures');
console.log(figures.tick);
Cross
This feature provides a cross symbol (✖) that can be used to indicate failure or errors in CLI applications.
const figures = require('@inquirer/figures');
console.log(figures.cross);
Arrow
This feature provides a right arrow symbol (→) that can be used to indicate direction or progression in CLI applications.
const figures = require('@inquirer/figures');
console.log(figures.arrowRight);
Star
This feature provides a star symbol (★) that can be used to highlight important information or features in CLI applications.
const figures = require('@inquirer/figures');
console.log(figures.star);
The 'figures' package provides a similar set of Unicode symbols for use in command-line interfaces. It offers a wide range of symbols like checkmarks, crosses, arrows, and more. It is very similar to @inquirer/figures in terms of functionality and usage.
The 'cli-spinners' package provides a collection of spinners for use in command-line interfaces. While it focuses more on loading animations rather than static symbols, it can be used in conjunction with @inquirer/figures to enhance the visual appeal of CLI applications.
The 'log-symbols' package provides colored symbols for various log levels (info, success, warning, error). It is useful for enhancing log messages in CLI applications and can be used alongside @inquirer/figures for a more comprehensive set of symbols.
FAQs
Vendored version of figures, for CJS compatibility
The npm package @inquirer/figures receives a total of 2,972,839 weekly downloads. As such, @inquirer/figures popularity was classified as popular.
We found that @inquirer/figures demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 3 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
ESLint has added JSON and Markdown linting support with new officially-supported plugins, expanding its versatility beyond JavaScript.
Security News
Members Hub is conducting large-scale campaigns to artificially boost Discord server metrics, undermining community trust and platform integrity.
Security News
NIST has failed to meet its self-imposed deadline of clearing the NVD's backlog by the end of the fiscal year. Meanwhile, CVE's awaiting analysis have increased by 33% since June.